package c.c.c.a.a;

import android.os.SystemClock;

/* compiled from: LooperMonitor */
public final class g implements Runnable {
    public void run() {
        h.c.set((SystemClock.uptimeMillis() - h.e) / h.d);
        long uptimeMillis = SystemClock.uptimeMillis() - h.e;
        long j = h.d;
        uptimeMillis %= j;
        if (uptimeMillis >= 95) {
            h.c.incrementAndGet();
            j = h.d << 1;
        }
        h.i.postDelayed(this, j - uptimeMillis);
    }
}
